package com.powerunion.datacollection.dao;

import java.util.List;

import com.powerunion.datacollection.model.Column;
import com.powerunion.datacollection.model.SubTblColumn;

public interface ColumnDao {
	public boolean save(List columns,String formId) throws DaoException;
		
	public boolean delete(String code) throws DaoException;
	
	public Column getBykey(String id) throws DaoException;
	
	public List getColumns(String formId) throws DaoException;
	
	public int getColumnNumById(String formId) throws DaoException;
	
	public boolean save(SubTblColumn stc, String formId) throws DaoException;
	
	public List getSubFormColumns(String formId) throws Exception;
}
